Dew Stats for .NET
|
Calculates the Exponential Weighted Moving Average (EWMA) control chart.
Parameters |
Description |
[In] TMtx Data |
Data of grouped responses. Each row contais a response at specific time. It's asumed the rows are in time order. |
[In] TVec DrawVec |
Returns the calculated EWMA chart points. |
out double CL |
Returns EWMA chart center line. |
TVec UCL |
Returns EWMA chart upper control limits. In this case UCL and LCL are constant (asymptote) limits. |
TVec LCL |
Returns EWMA chart lower control limits. In this case UCL and LCL are constant (asymptote) limits. |
double r |
Weighting constant that weights past and current information. If, for example, r=0.3, 70% of the weight will be given to past information and 30% to current information. Typically a r between 0.1 and 0.4 provides a reasonable balance between past and current information and 0.2 is very common in actual practice. |
double Confidence |
|
In this case UCL and LCL are not constant, but use an exact formula to calculate control limits for each point. It's worth noting that UCL and LCL values rapidly approach the asymptote value.
TQCSeries, Dew.Stats.Tee.QCSeries
The following code will load data from file and create EWMA chart with r=0.25 and significance 95%:
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|